#!/bin/bash

kernelfile=$1
rootfsfile=$2

qemu-system-aarch64 \
  -machine virt \
  -cpu cortex-a57 \
  -m 2048 \
  -smp 2 \
  -kernel $kernelfile \
  -machine type=virt \
  --append "root=/dev/vda rw console=ttyAMA0"  \
  -hda $rootfsfile \
  -serial stdio

  #-nographic


